from book.views import index
from django.urls import path
# 这个是固定写法 urlpatterns = []


urlpatterns = [
    # path(路由，视图函数名)
    path('index/',index)
]